//------------------
//Version 0.2
//------------------
//RELEASE NOTES
//version 0.1 - Officially tested with log and error functions.
//version 0.2 - Cut coding by putting a dependancy upon el lib.

log = function(v){
	if(document.getElementById('debugLog'))
		document.getElementById('debugLog').innerHTML+='<br />'+v;
	else{
		var cElement = document.createElement('div');
		cElement.setAttribute('id','debugLog');
		document.body.appendChild(cElement);
		document.getElementById('debugLog').innerHTML=v;
//		el('body').createElement('div').setAttribute('id','debugLog').append(v);
	}
}
error = function(v){
	if(document.getElementById('debugError'))
		document.getElementById('debugError').innerHTML+='<br />'+v;
	else{
		var cElement = document.createElement('div');
		cElement.setAttribute('id','debugError');
		document.body.appendChild(cElement);
		document.getElementById('debugError').innerHTML=v;
//		el('body').createElement('div').setAttribute('id','debugError').append(v);
	}
}